import { createRouter,createWebHashHistory, } from "vue-router";

let routes =[
    {
        path:"/",
        // redirect: "/login",
        component:()=>import("../components/pages/home/index.vue")
    },
    {
        name:"login",
        path:"/login",

        component:()=>import("../components/pages/login/index.vue")
    }
]

const router =createRouter({
    history:createWebHashHistory(""),
    routes
})

export default router